package com.edu.study.base.StuQuestionBelongtoRelation.mapper;

import com.edu.study.base.StuQuestionBelongtoRelation.domain.StuQuestionBelongtoRelation;

import java.util.List;

/**
 * 题库归属关系Mapper接口
 *
 * @author jjt
 * @date 2021-04-02
 */
public interface StuQuestionBelongtoRelationMapper
{
    /**
     * 查询题库归属关系
     *
     * @param id 题库归属关系ID
     * @return 题库归属关系
     */
    public StuQuestionBelongtoRelation selectStuQuestionBelongtoRelationById(String id);

    /**
     * 查询题库归属关系列表
     *
     * @param stuQuestionBelongtoRelation 题库归属关系
     * @return 题库归属关系集合
     */
    public List<StuQuestionBelongtoRelation> selectStuQuestionBelongtoRelationList(StuQuestionBelongtoRelation stuQuestionBelongtoRelation);

    /**
     * 新增题库归属关系
     *
     * @param stuQuestionBelongtoRelation 题库归属关系
     * @return 结果
     */
    public int insertStuQuestionBelongtoRelation(StuQuestionBelongtoRelation stuQuestionBelongtoRelation);

    /**
     * 修改题库归属关系
     *
     * @param stuQuestionBelongtoRelation 题库归属关系
     * @return 结果
     */
    public int updateStuQuestionBelongtoRelation(StuQuestionBelongtoRelation stuQuestionBelongtoRelation);

    /**
     * 删除题库归属关系
     *
     * @param id 题库归属关系ID
     * @return 结果
     */
    public int deleteStuQuestionBelongtoRelationById(String id);

    /**
     * 批量删除题库归属关系
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteStuQuestionBelongtoRelationByIds(String[] ids);
}
